package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 商品模块-商品类目表
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gds_category")
public class Category extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 父ID
     */
    private Long parentId;

    /**
     * 类目名称
     */
    private String catName;

    /**
     * 类目级别 1一级；2二级；3三级
     */
    private Integer catLevel;

    /**
     * 类目路径
     */
    private String catPath;

    /**
     * 排序字段
     */
    private Integer orderBy;

    /**
     * 是否可用
     */
    private Integer isEnable;

    /**
     * 图片
     */
    private String catImg;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * erpId
     */
    private String erpName;

    /**
     * 创建时间
     */
    private Date createdTime;



    /**
     * 更新时间
     */
    private Date updatedTime;


    private String erpId;

    private  String  url;


}
